import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入vant
import { Swipe, SwipeItem, Lazyload, Skeleton, Search, Tag } from 'vant';
import 'vant/lib/index.css'
import axios from './http'

const app = createApp(App);
// 全局挂载axios
app.config.globalProperties.$axios = axios;
app.use(Swipe)
app.use(SwipeItem)
app.use(Lazyload)
app.use(Skeleton)
app.use(Search)
app.use(Tag)
app.use(store);
app.use(router);
app.mount('#app');
